package cn.edu.zafu.bigdata.x.wupeng.c;

public class SanGuo {
    public static void main(String[] args) {
        Person a=new Person("刘备",28);
        Person b=new Person("关羽");
        Person c=new Person("张飞");
        Person cc=new Person("张飞",22,100);

        a.WhoAmI();
        b.WhoAmI();
        c.WhoAmI();

        b.setAge(25);
        b.WhoAmI();

        System.out.println("已有"+Person.getCount()+"个人物了");
        cc.Destroy();
        cc=null;
        System.out.println("已有"+Person.getCount()+"个人物了");


    }
}
